package Chain;

/**
 * @Author:CJJ
 * 创建实现了 Order接口的实体类
 */
public class SellStock implements Order{
    private Stock abcStock;

    public SellStock(Stock abcStock){
        this.abcStock = abcStock;
    }
    @Override
    public void execute() {
      abcStock.sell();
    }
}
